#!/usr/bin/env bash

# Compile source
/home/alex/work/lib/sdk-4.5/bin/mxmlc src/gallery/Gallery.as \
-load-config gallery-config.xml \
-output /home/alex/work/a.nesterovich/site/swf/gallery.swf 2> log.txt

# Analytic log file
grep Error: log.txt

# Run debugger
/home/alex/work/lib/sdk-4.5/bin/fdb run http://localhost/